package models.vo
{
	import mx.collections.ArrayCollection;
	[Bindable]
	public class RoomVO extends ArrayCollection
	{
		public var creator:UserVO;
		private var playnumMin:int;
		public function RoomVO(playnumMin:int = 2,playnumMax:int = 2)
		{
			super(new Array(playnumMax));
			this.playnumMin = playnumMin;
		}
		public function canStart():Boolean{
			return length>=playnumMin;
		}
	}
}